package com.zhengke.service.impl;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhengke.dao.IMemberDao;
import com.zhengke.service.IMemberService;

@Service
public class IMemberServiceImpl implements IMemberService {
	
	//注入IMemberDao对象
	@Autowired
	IMemberDao imemberDao;

	@Override
	public List<Map<String, Object>> querryMemberList(Map<String, Object> memberMessage) {
		
		return imemberDao.querryMemberList(memberMessage);
	}

	@Override
	public int updateMemberMethod(Map<String, Object> messageMap) {
		
		return imemberDao.updateMemberMethod(messageMap);
	}

	@Override
	public String querrYmemberBymemberId(String user_id) {
		
		return imemberDao.querrYmemberBymemberId(user_id);
	}

	

}
